// 类别
export const typeOptions = {
  1: '证照',
  2: '注册证',
  3: '库存',
  9: '其他',
}
// 查询列表
export const tableColumn = [
  {
    label: '时间',
    prop: 'createdAt',
    width: 180,
    align: 'center'
  },
  {
    prop: 'type',
    label: '类别',
    width: 100,
    align: 'center',
    formatter: (row) => {
      return typeOptions[row.type]
    },
  },
  {
    prop: 'content',
    label: '内容',
    minWidth: 200,
    'show-overflow-tooltip': true,
    align: 'center'
  },
]
// tab
export const warningTabList = [
  { label: '全部预警', badgeValue: 0, type: 0 },
  { label: '证照', badgeValue: 0, type: 1 },
  { label: '注册证', badgeValue: 0, type: 2 },
  { label: '库存', badgeValue: 0, type: 3 },
  { label: '其他', badgeValue: 0, type: 9 },
]

// 更多设置
export const routerListCofig = [
  {
    path: '/todoNoticeSet',
    label: '待办通知设置',
  },
]
